package cn.topevery.garden.entity.po;

import cn.topevery.garden.framework.base.BaseEntity;
import hw.topevery.framework.annotation.DbTable;
import hw.topevery.framework.annotation.DbTableField;
import hw.topevery.framework.enums.DbTypeEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.alibaba.fastjson.annotation.JSONField;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.LocalTime;
import java.math.BigDecimal;
import org.locationtech.jts.geom.Geometry;
import lombok.Data;
import cn.topevery.garden.entity.serializer.GeometrySerializer;

/**
 * 
 *
 * @author code-generate
 * @date 2022-10-10
 */
@Data
@DbTable(tableName = "t_gps_client_state")
public class GpsClientState extends BaseEntity {
        /**
     * 
     */
    @DbTableField(columnName = "c_fid", dbType = DbTypeEnum.BIGINT)
    public Long fid ;

    /**
     * 
     */
    @DbTableField(columnName = "c_data_source", dbType = DbTypeEnum.SMALLINT)
    public Short dataSource ;

    /**
     * 
     */
    @DbTableField(columnName = "c_client_key", dbType = DbTypeEnum.VARCHAR)
    public String clientKey ;

    /**
     * 
     */
    @DbTableField(columnName = "c_client_ip", dbType = DbTypeEnum.VARCHAR)
    public String clientIp ;

    /**
     * 
     */
    @DbTableField(columnName = "c_client_port", dbType = DbTypeEnum.INTEGER)
    public Integer clientIpPort ;

    /**
     * 
     */
    @DbTableField(columnName = "c_acc_state", dbType = DbTypeEnum.SMALLINT)
    public Boolean accState ;

    /**
     * 
     */
    @DbTableField(columnName = "c_charge_state", dbType = DbTypeEnum.SMALLINT)
    public Boolean chargeState ;

    /**
     * 
     */
    @DbTableField(columnName = "c_client_info", dbType = DbTypeEnum.SMALLINT)
    public Short clientInfo ;

    /**
     * 
     */
    @DbTableField(columnName = "c_defend_state", dbType = DbTypeEnum.SMALLINT)
    public Boolean defendState ;

    /**
     * 
     */
    @DbTableField(columnName = "c_gps_state", dbType = DbTypeEnum.SMALLINT)
    public Boolean gpsState ;

    /**
     * 
     */
    @DbTableField(columnName = "c_gsm_level", dbType = DbTypeEnum.SMALLINT)
    public Short gsmLevel ;

    /**
     * 
     */
    @DbTableField(columnName = "c_language", dbType = DbTypeEnum.SMALLINT)
    public Short language ;

    /**
     * 
     */
    @DbTableField(columnName = "c_oli_telegram_state", dbType = DbTypeEnum.SMALLINT)
    public Boolean oliTelegramState ;

    /**
     * 
     */
    @DbTableField(columnName = "c_voltage_level", dbType = DbTypeEnum.SMALLINT)
    public Short voltageLevel ;

    /**
     * 
     */
    @DbTableField(columnName = "c_warning_ext_info", dbType = DbTypeEnum.SMALLINT)
    public Short warningExtInfo ;

    /**
     * 
     */
    @DbTableField(columnName = "c_warning_state", dbType = DbTypeEnum.SMALLINT)
    public Short warningState ;

    /**
     * 
     */
    @DbTableField(columnName = "c_data_16hex", dbType = DbTypeEnum.VARCHAR)
    public String data16hex ;

    /**
     * 
     */
    @DbTableField(columnName = "c_warning_ext_info_child_0", dbType = DbTypeEnum.SMALLINT)
    public Short warningExtInfoChild0 ;

    /**
     * 
     */
    @DbTableField(columnName = "c_package_type", dbType = DbTypeEnum.INTEGER)
    public Integer packageType ;

    /**
     * 
     */
    @DbTableField(columnName = "c_service_ip", dbType = DbTypeEnum.VARCHAR)
    public String serviceIp ;

    /**
     * 
     */
    @DbTableField(columnName = "c_service_port", dbType = DbTypeEnum.INTEGER)
    public Integer servicePort ;

    /**
     * 
     */
    @DbTableField(columnName = "c_gid", dbType = DbTypeEnum.BIGINT)
    public Long gid ;

    /**
     * 
     */
    @DbTableField(columnName = "c_step_count_curr", dbType = DbTypeEnum.INTEGER)
    public Integer stepCountCurr ;

    /**
     * 
     */
    @DbTableField(columnName = "c_step_count_pre", dbType = DbTypeEnum.INTEGER)
    public Integer stepCountPre ;

    /**
     * 
     */
    @DbTableField(columnName = "c_step_count_differ", dbType = DbTypeEnum.INTEGER)
    public Integer stepCountDiffer ;


}
